﻿<UserControl xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="ProBugTracker.Shell"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:prism="http://www.codeplex.com/prism"
    mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot">
        <Grid.Background>
            <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                <GradientStop Color="#FFFFFFFF" Offset="0"/>
                <GradientStop Color="#FFFFFFFF" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>

        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition/>
        </Grid.RowDefinitions>

        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="4*"/>
                <ColumnDefinition Width="2*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" Margin="10,5,0,0" Text="Pro Bug Tracker" Foreground="#FF373737" FontWeight="Bold" FontSize="24" FontFamily="Corbel"/>

            <Grid Grid.Row="0" Grid.Column="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"/>
                    <RowDefinition Height="1*"/>
                </Grid.RowDefinitions>
                <TextBlock Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" Text="Hello,Erandika Sandaruwan" FontSize="13"   FontFamily="Corbel"/>

                <HyperlinkButton Grid.Row="1" Grid.Column="0" Content="Sign out" HorizontalAlignment="Right"  Name="hyperlinkButton1"  />
            </Grid>

        </Grid>
        <toolkit:Separator Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,0,0,0" VerticalAlignment="Bottom" Height="10" BorderBrush="#193441" />
        <toolkit:WrapPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <ContentControl Grid.Row="1" Grid.Column="0" prism:RegionManager.RegionName="MainRegion"  HorizontalAlignment="Center" VerticalAlignment="Center"/>
        </toolkit:WrapPanel>

    </Grid>
</UserControl>
